﻿@{
    ViewBag.Title = "BuyMacBook";
}

<h1>Buy MacBook</h1>

<table>
    <tr>
        <td>Id:</td>
        <td>@Model.Id</td>
    </tr>
    <tr>
        <td>Customer:</td>
        <td>@Model.Customer</td>
    </tr>
    <tr>
        <td>Date:</td>
        <td>@Model.OrderedDate</td>
    </tr>
    <tr>
        <td>Status:</td>
        <td>@Model.Status()</td>
    </tr>
    <tr>
        <td>Can be canceled:</td>
        <td>@Model.CanCancel()</td>
    </tr>
    <tr>
        <td>Can be shipped:</td>
        <td>@Model.CanShip()</td>
    </tr>
    <tr>
        <td>Laptop price:</td>
        <td>@Model.Laptop.GetCost()</td>
    </tr>
</table>

 